Simulator Options
The following is a list of options recognized by the simulator.
- T
- Generates a trace at entry to each called routine.
- d
- Produces a disassembled dump of bc_file into a file named
`dump.pil' and exits.
- n
- Adds machine addresses when producing trace and dump.
- s
- Maintains information for the builtin statistics/0.
Default: off.
- m size
- Allocates size words (4 bytes)
of space to the local stack and heap together.
Default: 100000.
- p size
- Allocates size words of space
to the program area. Default: 100000.
- b size
- Allocates size words of space
to the trail stack.
Default: m/5, where m is the amount of space allocated to the
local stack and heap together.
This parameter, if specified, must follow the -m parameter.
As an example, the command
sbprolog -s -p 60000 -m 150000 \$readloop
starts the simulator executing the command interpreter with 60000 bytes of
program space, 150000 bytes of local and global stack space and (by default)
30000 bytes of trail stack space; the s option also results in
statistics information being maintained.